package com.tim.shadow.lib.image;

import android.graphics.Bitmap;
import android.os.Handler;
import android.os.Message;

/*
 * Author: poper Email:xut@bluemobi.cn
 * Created Date:2013-4-22
 * Copyright @ 2013 BU
 * Description: 类描述
 *
 * History:
 */
public class TImageHandler extends Handler {
	TImageView mTImageView;

	public TImageHandler(TImageView tImageView) {
		this.mTImageView = tImageView;
	}

	@Override
	public void handleMessage(Message msg) {
		super.handleMessage(msg);
		if (msg.what == 0 && null != msg.obj) {
			mTImageView.setImageBitmap((Bitmap) msg.obj);
		}
	}
}
